<template>
  <div>
    <elButton title="默认按钮"></elButton>
    <elButton title="默认按钮" type="primary"></elButton>
    <elButton title="默认按钮" type="success" @click="fn"></elButton>
  </div>
</template>

<script>
import elButton from "@/components/el-button.vue";
export default {
  components: {
    elButton,
  },
  methods: {
    fn(arr) {
      console.log(arr);
    },
  },
};
</script>

<style></style>
